﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<%PowerGroup modelpowergroup = v.data("powergroup") as PowerGroup; %>
<%var bllPowerGroupService = new PowerGroupService(); %>

<%if (v.data("menutype").ToString() == "seolinklist"){ %>
<!--内链接列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("marketing", "keylinkadd", modelpowergroup))
      { %>
    <%if(ctx.getInt("mid") != 0){ %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_seolink}','index.php?archive=seomanage&action=keylinkadd&tid=<%=ctx.getInt("tid") %>&mid=<%=ctx.getInt("mid") %>&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_seolink}" hidefocus="true">_{botton_add_seolink}</a></li>
	<%}else{ %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:alert('_{article_js_doc_add_midtidnoselect}');return false;"  href="#body" title="_{botton_add_seolink}" hidefocus="true">_{botton_add_seolink}</a></li>
	<%} %>
	<%} %>

	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{seomanage_text_islink}</span>
				<ul>
					<li><a class="menunoclick" id="islink0" href="#body" onclick="javascript:dbfilter('islink','islink',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="islink1" href="#body" onclick="javascript:dbfilter('islink','islink',1,1,3,'selectform','selectall','check_all')" title="_{seomanage_islink_ok}" hidefocus="true">_{seomanage_islink_ok}</a></li>
					<li><a class="menuclick" id="islink2" href="#body" onclick="javascript:dbfilter('islink','islink',2,2,3,'selectform','selectall','check_all')" title="_{seomanage_islink_no}" hidefocus="true">_{seomanage_islink_no}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{seomanage_text_class}</span>
				<ul>
					<li><a class="menunoclick" id="istop0" href="#body" onclick="javascript:dbfilter('istop','istop',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="istop1" href="#body" onclick="javascript:dbfilter('istop','istop',1,1,3,'selectform','selectall','check_all')" title="_{seomanage_audit_ok}" hidefocus="true">_{seomanage_audit_ok}</a></li>
					<li><a class="menuclick" id="istop2" href="#body" onclick="javascript:dbfilter('istop','istop',2,2,3,'selectform','selectall','check_all')" title="_{seomanage_audit_no}" hidefocus="true">_{seomanage_audit_no}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("marketing", "delkey", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=seomanage&action=delkey','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
    <%if (bllPowerGroupService.powercheck("marketing", "keylinkedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="sortall" onclick="javascript:sortinput('index.php?archive=seomanage&action=keysort','#{load}','_{sort_messok}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{pid_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("marketing", "keylinkedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{seomanage_text_islink}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=seomanage&action=setting','selectinfoid',true,'islink',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{seomanage_islink_ok}" hidefocus="true">_{seomanage_islink_ok}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=seomanage&action=setting','selectinfoid',true,'islink',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{seomanage_islink_no}" hidefocus="true">_{seomanage_islink_no}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{seomanage_text_class}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=seomanage&action=setting','selectinfoid',true,'istop',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{seomanage_audit_ok}" hidefocus="true">_{seomanage_audit_ok}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=seomanage&action=setting','selectinfoid',true,'istop',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{seomanage_audit_no}" hidefocus="true">_{seomanage_audit_no}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "seolinktypelist"){ %>
<!--内链接分组列表-->]
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("marketing", "keylinktypeadd", modelpowergroup))
      { %>
	<%if(ctx.getInt("mid") != 0 ){ %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_seotypelink}','index.php?archive=seomanage&action=keylinktypeadd&tid=<%=ctx.getInt("tid") %>&mid=<%=ctx.getInt("mid") %>&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_seotypelink}" hidefocus="true">_{botton_add_seotypelink}</a></li>
	<%}else{ %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:alert('_{article_js_doc_add_midtidnoselect}');return false;"  href="#body" title="_{botton_add_seotypelink}" hidefocus="true">_{botton_add_seotypelink}</a></li>
	<%} %>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("marketing", "delkeytype", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=seomanage&action=delkeytype','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "filelist"){ %>
<!--图片管理-->
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="fileselectall" class="selectall" href="javascript:select_change(true,'filemodelattselectform','fileselectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "filedel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:delfile('index.php?archive=filemanage&action=delfile','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','filemodelattselectform','fileselectall','check_all','filepath');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('filemodelattselectform','fileselectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "filecreat", modelpowergroup))
      { %>
	<li class="menumain"><a class="creatfile" id="creatfile" href="#body" onclick="javascript:windowsdig('_{creatfile_botton}','iframe:index.php?archive=filemanage&action=mkdir&path='+document.getElementById('filepath').value+'&freshid='+Math.random(),'480px','200px','iframe');" title="_{creatfile_botton}" hidefocus="true">_{creatfile_botton}</a></li>
	<%} %>
    <%if (bllPowerGroupService.powercheck("communicate", "fileupload", modelpowergroup))
      { %>
	<li class="menumain"><a class="upload" id="uploadfile" href="#body" onclick="javascript:windowsdig('_{fileupload_botton}','iframe:index.php?archive=filemanage&action=upfile&path='+document.getElementById('filepath').value+'&freshid='+Math.random(),'600px','200px','iframe');" title="_{fileupload_botton}" hidefocus="true">_{fileupload_botton}</a></li>
	<li class="menumain"><a class="upload" id="uploadfile" href="#body" onclick="javascript:windowsdig('_{filebatupload_botton}','iframe:index.php?archive=filemanage&action=batupfile&path='+document.getElementById('filepath').value+'&freshid='+Math.random(),'600px','400px','iframe');" title="_{filebatupload_botton}" hidefocus="true">_{filebatupload_botton}</a></li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "memclasslist"){ %>
<!--会员等级列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("member", "classadd", modelpowergroup))
      { %>
	<li class="menumain"><a class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_memclassadd}','index.php?archive=memclassmanage&action=classadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));" id="addinfo" href="#body" title="_{botton_add_memclassadd}" hidefocus="true">_{botton_add_memclassadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{memclassmanage_view_botton_isinter}</span>
				<ul>
					<li><a class="menunoclick" id="memclassisinter0" href="#body" onclick="javascript:dbfilter('memclassisinter','isinter',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="memclassisinter1" href="#body" onclick="javascript:dbfilter('memclassisinter','isinter',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="memclassisinter2" href="#body" onclick="javascript:dbfilter('memclassisinter','isinter',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{user_type_botton}</span>
				<ul>
					<li><a class="menunoclick" id="memclassisclass0" href="#body" onclick="javascript:dbfilter('memclassisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="memclassisclass1" href="#body" onclick="javascript:dbfilter('memclassisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="memclassisclass2" href="#body" onclick="javascript:dbfilter('memclassisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("member", "memberclassdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=memclassmanage&action=memberclassdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("member", "classedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=memclassmanage&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=memclassmanage&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{memclassmanage_view_bottonset_isinter}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=memclassmanage&action=setting','selectinfoid',true,'isinter',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=memclassmanage&action=setting','selectinfoid',true,'isinter',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "memberattlist"){ %>
<!--会员字段列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("member", "memattadd", modelpowergroup))
      { %>
	<li class="menumain"><a class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_memattadd}','index.php?archive=memattmanage&action=memattadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));" id="addinfo" href="#body" title="_{botton_add_memattadd}" hidefocus="true">_{botton_add_memattadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{memattmanage_view_botton_isvalidate}</span>
				<ul>
					<li><a class="menunoclick" id="memattisvalidate0" href="#body" onclick="javascript:dbfilter('memattisvalidate','isvalidate',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="memattisvalidate1" href="#body" onclick="javascript:dbfilter('memattisvalidate','isvalidate',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="memattisvalidate2" href="#body" onclick="javascript:dbfilter('memattisvalidate','isvalidate',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{user_type_botton}</span>
				<ul>
					<li><a class="menunoclick" id="memattisclass0" href="#body" onclick="javascript:dbfilter('memattisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="memattisclass1" href="#body" onclick="javascript:dbfilter('memattisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="memattisclass2" href="#body" onclick="javascript:dbfilter('memattisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("member", "memattdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=memattmanage&action=memattdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
    <%if (bllPowerGroupService.powercheck("member", "memattedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="sortall" onclick="javascript:sortinput('index.php?archive=memattmanage&action=sort','#{load}','_{sort_messok}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{pid_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("member", "memattedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=memattmanage&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=memattmanage&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "shiplist"){ %>
<!--发货方式列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("order", "shipplugadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_shipplugadd}','index.php?archive=shipplug&action=shipplugadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_shipplugadd}" hidefocus="true">_{botton_add_shipplugadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{ordershipping_view_botton_iscash}</span>
				<ul>
					<li><a class="menunoclick" id="iscash0" href="#body" onclick="javascript:dbfilter('iscash','iscash',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="iscash1" href="#body" onclick="javascript:dbfilter('iscash','iscash',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="iscash2" href="#body" onclick="javascript:dbfilter('iscash','iscash',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{user_type_botton}</span>
				<ul>
					<li><a class="menunoclick" id="shipisclass0" href="#body" onclick="javascript:dbfilter('shipisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="shipisclass1" href="#body" onclick="javascript:dbfilter('shipisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="shipisclass2" href="#body" onclick="javascript:dbfilter('shipisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("order", "shipplugedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="sortall" onclick="javascript:sortinput('index.php?archive=shipplug&action=sort','#{load}','_{sort_messok}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{pid_botton}</a></li>
	<%} %>
    <%if (bllPowerGroupService.powercheck("order", "shipplugdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=shipplug&action=shipplugdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("order", "shipplugedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=shipplug&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=shipplug&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "paylist"){ %>
<!--支付方式列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("order", "payplugadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_payplugadd}','index.php?archive=payplug&action=payplugadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_payplugadd}" hidefocus="true">_{botton_add_payplugadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_botton}</span>
				<ul>
					<li><a class="menunoclick" id="payisclass0" href="#body" onclick="javascript:dbfilter('payisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="payisclass1" href="#body" onclick="javascript:dbfilter('payisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" id="payisclass2" href="#body" onclick="javascript:dbfilter('payisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("order", "payplugedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="sortall" onclick="javascript:sortinput('index.php?archive=payplug&action=sort','#{load}','_{sort_messok}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{pid_botton}</a></li>
	<%} %>
    <%if (bllPowerGroupService.powercheck("order", "payplugdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=payplug&action=payplugdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("order", "payplugedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{user_type_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=payplug&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=payplug&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "payreceiptlist"){ %>
<!--财务单据管理-->
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{payreceiptlist_class_botton}</span>
				<ul>
					<li><a class="menunoclick" id="payisclass0" href="#body" onclick="javascript:dbfilter('payisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="payisclass1" href="#body" onclick="javascript:dbfilter('payisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{payreceiptlist_text_class1}" hidefocus="true">_{payreceiptlist_text_class1}</a></li>
					<li><a class="menuclick" id="payisclass2" href="#body" onclick="javascript:dbfilter('payisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{payreceiptlist_text_class2}" hidefocus="true">_{payreceiptlist_text_class2}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("order", "payreceiptdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=payreceipt&action=payreceiptdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "shipreceiptlist"){ %>
<!--发货单据管理-->
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{shipreceiptlist_class_botton}</span>
				<ul>
					<li><a class="menunoclick" id="payisclass0" href="#body" onclick="javascript:dbfilter('payisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="payisclass1" href="#body" onclick="javascript:dbfilter('payisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{shipreceiptlist_text_class1}" hidefocus="true">_{shipreceiptlist_text_class1}</a></li>
					<li><a class="menuclick" id="payisclass2" href="#body" onclick="javascript:dbfilter('payisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{shipreceiptlist_text_class2}" hidefocus="true">_{shipreceiptlist_text_class2}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("order", "shipreceiptdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=shipreceipt&action=shipreceiptdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "orderlist"){ %>
<!--订单列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("order", "orderadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_orderadd}','index.php?archive=ordermain&action=orderadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_orderadd}" hidefocus="true">_{botton_add_orderadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{ordermain_text_ordertype}</span>
				<ul>
					<li><a class="menunoclick" id="ordertype0" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',0,0,7,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="ordertype1" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',1,1,7,'selectform','selectall','check_all')" title="_{ordermain_text_ordertype1}" hidefocus="true">_{ordermain_text_ordertype1}</a></li>
					<li><a class="menuclick" id="ordertype2" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',2,2,7,'selectform','selectall','check_all')" title="_{ordermain_text_ordertype2}" hidefocus="true">_{ordermain_text_ordertype2}</a></li>
					<li><a class="menuclick" id="ordertype3" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',3,3,7,'selectform','selectall','check_all')" title="_{ordermain_text_ordertype3}" hidefocus="true">_{ordermain_text_ordertype3}</a></li>
					<li><a class="menuclick" id="ordertype4" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',4,4,7,'selectform','selectall','check_all')" title="_{ordermain_text_ordertype4}" hidefocus="true">_{ordermain_text_ordertype4}</a></li>
					<li><a class="menuclick" id="ordertype5" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',5,5,7,'selectform','selectall','check_all')" title="_{ordermain_text_ordertype5}" hidefocus="true">_{ordermain_text_ordertype5}</a></li>
					<li><a class="menuclick" id="ordertype6" href="#body" onclick="javascript:dbfilter('ordertype','ordertype',6,6,7,'selectform','selectall','check_all')" title="_{ordermain_text_ordertype6}" hidefocus="true">_{ordermain_text_ordertype6}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{ordermain_text_paysn}</span>
				<ul>
					<li><a class="menunoclick" id="ispaysn0" href="#body" onclick="javascript:dbfilter('ispaysn','ispaysn',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="ispaysn1" href="#body" onclick="javascript:dbfilter('ispaysn','ispaysn',1,1,3,'selectform','selectall','check_all')" title="_{ordermain_text_paysn1}" hidefocus="true">_{ordermain_text_paysn1}</a></li>
					<li><a class="menuclick" id="ispaysn2" href="#body" onclick="javascript:dbfilter('ispaysn','ispaysn',2,2,3,'selectform','selectall','check_all')" title="_{ordermain_text_paysn2}" hidefocus="true">_{ordermain_text_paysn2}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{ordermain_text_shippingsn}</span>
				<ul>
					<li><a class="menunoclick" id="isshippingsn0" href="#body" onclick="javascript:dbfilter('isshippingsn','isshippingsn',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isshippingsn1" href="#body" onclick="javascript:dbfilter('isshippingsn','isshippingsn',1,1,3,'selectform','selectall','check_all')" title="_{ordermain_text_shippingsn1}" hidefocus="true">_{ordermain_text_shippingsn1}</a></li>
					<li><a class="menuclick" id="isshippingsn2" href="#body" onclick="javascript:dbfilter('isshippingsn','isshippingsn',2,2,3,'selectform','selectall','check_all')" title="_{ordermain_text_shippingsn2}" hidefocus="true">_{ordermain_text_shippingsn2}</a></li>
				</ul>
			</li>
			<li><a class="menuclick" id="searchall" href="#body" onclick="javascript:refreshurl('selectform')" title="_{all_botton}" hidefocus="true">_{getalllist_botton}</a></li>
		</ul>
	</li>
	<li class="menumain"><a id="search" href="javascript:parent.windowsdig('_{ordermain_search_botton}','iframe:index.php?archive=ordermain&action=search&iframename='+self.frameElement.getAttribute('name'),'600px','450px','iframe',true);" title="_{ordermain_search_botton}" hidefocus="true">_{search_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("order", "orderdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=ordermain&action=orderdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "enquirylist"){ %>
<!--询盘列表-->
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{enquirymain_text_isclass}</span>
				<ul>
					<li><a class="menunoclick" id="isclass0" href="#body" onclick="javascript:dbfilter('isclass','isclass',0,0,4,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="isclass1" href="#body" onclick="javascript:dbfilter('isclass','isclass',1,1,4,'selectform','selectall','check_all')" title="_{enquirymain_text_isclass1}" hidefocus="true">_{enquirymain_text_isclass1}</a></li>
					<li><a class="menuclick" id="isclass2" href="#body" onclick="javascript:dbfilter('isclass','isclass',2,2,4,'selectform','selectall','check_all')" title="_{enquirymain_text_isclass2}" hidefocus="true">_{enquirymain_text_isclass2}</a></li>
					<li><a class="menuclick" id="isclass3" href="#body" onclick="javascript:dbfilter('isclass','isclass',3,3,4,'selectform','selectall','check_all')" title="_{enquirymain_text_isclass3}" hidefocus="true">_{enquirymain_text_isclass3}</a></li>
				</ul>
			</li>
			<li><a class="menuclick" id="searchall" href="#body" onclick="javascript:refreshurl('selectform')" title="_{all_botton}" hidefocus="true">_{getalllist_botton}</a></li>
		</ul>
	</li>
	<li class="menumain"><a id="search" href="javascript:parent.windowsdig('_{enquirymain_search_botton}','iframe:index.php?archive=enquirymain&action=search&iframename='+self.frameElement.getAttribute('name'),'600px','300px','iframe',true);" title="_{enquirymain_search_botton}" hidefocus="true">_{search_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("order", "enquirydel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=enquirymain&action=enquirydel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "emailtemplatelist"){ %>
<!--邮件模板列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("templates", "mailtemplateadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_mailtemplateadd}','index.php?archive=mailtemplatemain&action=mailtemplateadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_mailtemplateadd}" hidefocus="true">_{botton_add_mailtemplateadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{mailtemplatemain_text_class}</span>
				<ul>
					<li><a class="menunoclick" id="typeclass0" href="#body" onclick="javascript:dbfilter('typeclass','typeclass',0,0,8,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="typeclass1" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailorder',1,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class1}" hidefocus="true">_{mailtemplatemain_text_class1}</a></li>
					<li><a class="menuclick" id="typeclass2" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailenquiry',2,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class2}" hidefocus="true">_{mailtemplatemain_text_class2}</a></li>
					<li><a class="menuclick" id="typeclass3" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailmember',3,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class3}" hidefocus="true">_{mailtemplatemain_text_class3}</a></li>
					<li><a class="menuclick" id="typeclass4" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailform',4,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class4}" hidefocus="true">_{mailtemplatemain_text_class4}</a></li>
					<li><a class="menuclick" id="typeclass5" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailbbs',5,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class5}" hidefocus="true">_{mailtemplatemain_text_class5}</a></li>
					<li><a class="menuclick" id="typeclass6" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','maildocbbs',6,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class6}" hidefocus="true">_{mailtemplatemain_text_class6}</a></li>
					<li><a class="menuclick" id="typeclass7" href="#body" onclick="javascript:dbfilter('typeclass','typeclass','mailother',7,8,'selectform','selectall','check_all')" title="_{mailtemplatemain_text_class7}" hidefocus="true">_{mailtemplatemain_text_class7}</a></li>
				</ul>
			</li>
			<li><span class="menufont">_{mailtemplatemain_lockin_botton}</span>
				<ul>
					<li><a class="menunoclick" id="lockin0" href="#body" onclick="javascript:dbfilter('lockin','lockin',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="lockin1" href="#body" onclick="javascript:dbfilter('lockin','lockin',1,1,3,'selectform','selectall','check_all')" title="_{mailtemplatemain_lockin_botton1}" hidefocus="true">_{mailtemplatemain_lockin_botton1}</a></li>
					<li><a class="menuclick" id="lockin2" href="#body" onclick="javascript:dbfilter('lockin','lockin',2,2,3,'selectform','selectall','check_all')" title="_{mailtemplatemain_lockin_botton2}" hidefocus="true">_{mailtemplatemain_lockin_botton2}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("templates", "mailtemplateedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{mailtemplatemain_text_isopen}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailtemplatemain&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailtemplatemain&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "printlist"){ %>
<!--打印模板列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("templates", "printadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_printadd}','index.php?archive=printtemplatemain&action=printadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_printadd}" hidefocus="true">_{botton_add_printadd}</a></li>
	<%} %>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{printtemplatemain_lockin_botton}</span>
				<ul>
					<li><a class="menunoclick" id="lockin0" href="#body" onclick="javascript:dbfilter('lockin','lockin',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="lockin1" href="#body" onclick="javascript:dbfilter('lockin','lockin',1,1,3,'selectform','selectall','check_all')" title="_{printtemplatemain_lockin_botton1}" hidefocus="true">_{printtemplatemain_lockin_botton1}</a></li>
					<li><a class="menuclick" id="lockin2" href="#body" onclick="javascript:dbfilter('lockin','lockin',2,2,3,'selectform','selectall','check_all')" title="_{printtemplatemain_lockin_botton2}" hidefocus="true">_{printtemplatemain_lockin_botton2}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "albumadminlist"){ %>
<!--相册列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("communicate", "albumadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_album}','index.php?archive=albummain&action=albumadd&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_album}" hidefocus="true">_{botton_add_album}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_botton}</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{infook_botton}" hidefocus="true">_{infook_botton}</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{lockok_botton}" hidefocus="true">_{lockok_botton}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("communicate", "albumdel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=albummain&action=albumdel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "albumedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=albummain&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=albummain&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "albumfilelist"){ %>
<!--相册文件列表-->
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "albumfiledel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=albummain&action=albumfiledel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
</ul>
<%}else if (v.data("menutype").ToString() == "mailinvitelist"){ %>
<!--邮件订阅管理-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("communicate", "mailinviteadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_mailinvite}','index.php?archive=mailinvite&action=mailinviteadd&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_mailinvite}" hidefocus="true">_{botton_add_mailinvite}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_botton}</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{infook_botton}" hidefocus="true">_{infook_botton}</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{lockok_botton}" hidefocus="true">_{lockok_botton}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("communicate", "mailinvitedel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=mailinvite&action=mailinvitedel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "mailinviteedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailinvite&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailinvite&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "mailinvitesendlist"){ %>
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_botton}</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{infook_botton}" hidefocus="true">_{infook_botton}</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{lockok_botton}" hidefocus="true">_{lockok_botton}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("marketing", "mailinvitemaildel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=mailinvite&action=mailinvitemaildel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("marketing", "mailinvitemailedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailinvite&action=mailsetting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailinvite&action=mailsetting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "mailsendlist"){ %>
<!--邮件群发-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("marketing", "mailsendadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_mailsend}','index.php?archive=mailsendmain&action=mailsendadd&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_mailsend}" hidefocus="true">_{botton_add_mailsend}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_botton}</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{infook_botton}" hidefocus="true">_{infook_botton}</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{lockok_botton}" hidefocus="true">_{lockok_botton}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("marketing", "mailsenddel", modelpowergroup))
      { %>
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=mailsendmain&action=mailsenddel','selectinfoid',false,null,null,'#{load}','_{del_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{del_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("marketing", "mailsendedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailsendmain&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mailsendmain&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "smstemplate"){ %>
<!--短信模板列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("templates", "smstemplateadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_smstemplateadd}','index.php?archive=smstemplatemain&action=smstemplateadd&tab=true&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_smstemplateadd}" hidefocus="true">_{botton_add_smstemplateadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("templates", "smstemplateedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{mailtemplatemain_text_isopen}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=smstemplatemain&action=setting','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=smstemplatemain&action=setting','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>
<%}else if (v.data("menutype").ToString() == "moblietypelist"){ %>
<ul class="listbottonul" id="listbottonul">
	[%if @this->powercheck('marketing','moblietypeadd')==true %]
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('[%$ST.botton_add_moblietypemain|addslashes('hc')%]','index.php?archive=mobliemain&action=moblietypeadd&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="[%$ST.botton_add_moblietypemain%]" hidefocus="true">[%$ST.botton_add_moblietypemain%]</a></li>
	[%/if%]
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="[%$ST.selAll_botton%]" hidefocus="true">[%$ST.selAll_botton%]</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">[%$ST.bolt_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.lock_botton%]</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="[%$ST.all_botton%]" hidefocus="true">[%$ST.all_botton%]</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="[%$ST.infook_botton%]" hidefocus="true">[%$ST.infook_botton%]</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="[%$ST.lockok_botton%]" hidefocus="true">[%$ST.lockok_botton%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%if @this->powercheck('marketing','moblietypedel')==true %]
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=mobliemain&action=moblietypedel','selectinfoid',false,null,null,'#{load}','[%$ST.del_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" href="#body" hidefocus="true">[%$ST.del_botton%]</a></li>
	[%/if%]
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="[%$ST.refresh_botton%]" hidefocus="true">[%$ST.refresh_botton%]</a></li>
	[%if @this->powercheck('marketing','moblietypeedit')==true %]
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="[%$ST.set_botton%]">[%$ST.set_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.lock_set_botton%]</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mobliemain&action=setting','selectinfoid',true,'isclass',1,'#{load}','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.open_botton_title%]" hidefocus="true">[%$ST.open_botton_title%]</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mobliemain&action=setting','selectinfoid',true,'isclass',0,'#{load}','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.close_botton_title%]" hidefocus="true">[%$ST.close_botton_title%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%/if%]
</ul>

<%}else if (v.data("menutype").ToString() == "smstemplate"){ %>
<ul class="listbottonul" id="listbottonul">
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="[%$ST.selAll_botton%]" hidefocus="true">[%$ST.selAll_botton%]</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">[%$ST.bolt_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.lock_botton%]</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="[%$ST.all_botton%]" hidefocus="true">[%$ST.all_botton%]</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="[%$ST.infook_botton%]" hidefocus="true">[%$ST.infook_botton%]</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="[%$ST.lockok_botton%]" hidefocus="true">[%$ST.lockok_botton%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%if @this->powercheck('marketing','moblietypedel')==true %]
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=mobliemain&action=mobliedel','selectinfoid',false,null,null,'#{load}','[%$ST.del_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" href="#body" hidefocus="true">[%$ST.del_botton%]</a></li>
	[%/if%]
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="[%$ST.refresh_botton%]" hidefocus="true">[%$ST.refresh_botton%]</a></li>
	[%if @this->powercheck('marketing','moblietypeedit')==true %]
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="[%$ST.set_botton%]">[%$ST.set_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.lock_set_botton%]</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mobliemain&action=mbsetting','selectinfoid',true,'isclass',1,'#{load}','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.open_botton_title%]" hidefocus="true">[%$ST.open_botton_title%]</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=mobliemain&action=mbsetting','selectinfoid',true,'isclass',0,'#{load}','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.close_botton_title%]" hidefocus="true">[%$ST.close_botton_title%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%/if%]
</ul>

<%}else if (v.data("menutype").ToString() == "smstemplate"){ %>
<ul class="listbottonul" id="listbottonul">
	[%if @this->powercheck('marketing','smssendadd')==true %]
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('[%$ST.moblietypemain_send_add_log|addslashes('hc')%]','index.php?archive=smsmain&action=smssendadd&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="[%$ST.moblietypemain_send_add_log%]" hidefocus="true">[%$ST.moblietypemain_send_add_log%]</a></li>
	[%/if%]
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="[%$ST.selAll_botton%]" hidefocus="true">[%$ST.selAll_botton%]</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">[%$ST.bolt_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.lock_botton%]</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="[%$ST.all_botton%]" hidefocus="true">[%$ST.all_botton%]</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="[%$ST.infook_botton%]" hidefocus="true">[%$ST.infook_botton%]</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="[%$ST.lockok_botton%]" hidefocus="true">[%$ST.lockok_botton%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%if @this->powercheck('marketing','smssenddel')==true %]
	<li class="menumain"><a id="del" onclick="javascript:callrun('index.php?archive=smsmain&action=smssenddel','selectinfoid',false,null,null,'#{load}','[%$ST.del_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" href="#body" hidefocus="true">[%$ST.del_botton%]</a></li>
	[%/if%]
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="[%$ST.refresh_botton%]" hidefocus="true">[%$ST.refresh_botton%]</a></li>
	[%if @this->powercheck('marketing','smssendedit')==true %]
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="[%$ST.set_botton%]">[%$ST.set_botton%]</a>
		<ul class="menulist">
			<li><span class="menufont">[%$ST.lock_set_botton%]</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=smsmain&action=setting','selectinfoid',true,'isclass',1,'#{load}','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.open_botton_title%]" hidefocus="true">[%$ST.open_botton_title%]</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('index.php?archive=smsmain&action=setting','selectinfoid',true,'isclass',0,'#{load}','[%$ST.update_messok%]','[%$ST.select_no%]',true,'[%$ST.run_ok%]','[%$ST.run_no%]','selectform','selectall','check_all');" title="[%$ST.close_botton_title%]" hidefocus="true">[%$ST.close_botton_title%]</a></li>
				</ul>
			</li>
		</ul>
	</li>
	[%/if%]
</ul>

<%} %>